+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
+Tue Nov 17 1998 Tuomas Lukka <lukka@iki.fi>
+
+ * gtk/gtktypeutils.c: Fix vital bug where LOOKUP was used when
+ getting types even though we were not using real type names,
+ just the index. This caused random crashes when more than
+ 256 types were defined.
+
1998-11-17 Martin Baulig <martin@home-of-linux.org>
* gtk/genmarshal.pl: Put output files in the current directory
new_type = n_type_nodes++;
n_free_type_nodes--;
- LOOKUP_TYPE_NODE (node, new_type);
+ /* This can't be used here - new_type can be over 256!
+ * LOOKUP_TYPE_NODE (node, new_type);
+ * Code copied from above (we may assume we are all right here):
+ */
+
+ if(new_type == 0)
+ return NULL;
+ node = type_nodes + new_type;
+
if (node)
node->type = new_type;